#pragma once

#include<stdio.h>
#include<stdlib.h>
#include<assert.h>
#include<stdbool.h>

#define MaxSize 100
typedef char ElemType;
typedef struct SqQueue
{
	ElemType data[MaxSize + 1];
	int front;
	int rear;
}SqQueue;

void InitQueue(SqQueue** q);
bool enQueue(SqQueue* q, ElemType e);
bool QueueEmpty(SqQueue* q);
bool deQueue(SqQueue* q, ElemType* e);